<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
        <title>Control de Acceso</title>
<h:outputStylesheet name="css/jsfcrud.css"/>
    </h:head>
    <h:body>
        <h2><center>Control de Acceso</center></h2> 
        <center>
        <h:form>
         Login:<br/>
         <h:inputText id="login" size="30" required="true" requiredMessage="usuario" value="#{controlador.login}"/>
         <br/>
         Contraseña:<br/>
         <h:inputSecret id="key" size="30" required="true" requiredMessage="contraseña" value="#{controlador.key}"/>
         <br/>
         <br/> <h:commandButton  value="Enviar" action="#{controlador.validar_usuario}"/>
         <br/>
        </h:form>
        </center>
</h:body>








</html>

